package com.lcj.eduService.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Author：LCJ
 * @Description：
 * @Date：Create in 16:50 2021/3/25 0025
 */
@Component
@FeignClient(name="service-ucenter",fallback = UcenterClientImpl.class)
public interface UcenterClient {

    //根据id字符串获取用户信息
    @GetMapping("getInfoUc/{id}")
    public com.lcj.commonutils.vo.UcenterMember getInfo(@PathVariable String id);
}
